package com.lz.yz.order.enumeration;

/**
 * 订单状态:1.进行中，2.已完成，3.已取消 4.已退款
 */
public enum OrderStatus {
    SERVICE("SERVICE",1),
    COMPLETE("COMPLETE", 2),
    CANCEL("CANCEL",3),
    REFUND("REFUND",4);

    private String status;
    private Integer statusValue;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getStatusValue() {
        return statusValue;
    }

    public void setStatusValue(Integer statusValue) {
        this.statusValue = statusValue;
    }

    OrderStatus(String status, Integer statusValue) {
        this.status = status;
        this.statusValue = statusValue;
    }
}
